package com.demonlover.oauth2.sever.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.demonlover.oauth2.sever.domain.RolePermission;
import com.demonlover.oauth2.sever.domain.RolePermissionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
 * @author  WuChao
 * @date  2020/6/3 10:50
 * @version 1.0
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {
    long countByExample(RolePermissionExample example);

    int deleteByExample(RolePermissionExample example);

    List<RolePermission> selectByExample(RolePermissionExample example);

    int updateByExampleSelective(@Param("record") RolePermission record, @Param("example") RolePermissionExample example);

    int updateByExample(@Param("record") RolePermission record, @Param("example") RolePermissionExample example);
}